<template>
  <div>
    <h1>App</h1>
    <!-- 绑定自定义事件-->
    <List @getdataHanlde="getdataHanlde" />
  </div>
</template>

<script>
import List from "./components/List.vue";
export default {
  name: "App",
  components: { List },
  data() {
    return {
      count: [],
    };
  },
  methods: {
    getdataHanlde(value) {
      console.log(value);
    },
  },
};
</script>

<style></style>
